package com.wdd.owntool.ui.mvp.model



import com.wdd.libbase.mvp.BaseModel
import com.wdd.libhttp.http.HttpAskHelper
import com.wdd.tools.mvp.contract.MvpContract
import io.reactivex.Observable
import javax.inject.Inject

/**
 *
 * @ProjectName:    OwnTool
 * @Package:        com.wdd.owntool.ui.mvp.model
 * @ClassName:      MvpModel
 * @Description:     java类作用描述
 * @Author:         王丹丹
 * @CreateDate:     2019/12/9 14:14
 * @UpdateUser:     更新者
 * @UpdateDate:     2019/12/9 14:14
 * @UpdateRemark:   更新说明
 * @Version:        1.0
 */
class MvpModel @Inject constructor() : BaseModel(), MvpContract.Model {
    override fun obtainBaidu(): Observable<String> {
        return HttpAskHelper.instance()
            .getHttp("http://yapi.demo.qunar.com/mock/51102/obtainPortDetailById")
    }

    override fun obtainUser() {
    }
}